﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009BF RID: 2495
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class JoinLineupScRsp : IMessage<JoinLineupScRsp>, IMessage, IEquatable<JoinLineupScRsp>, IDeepCloneable<JoinLineupScRsp>, IBufferMessage
	{
		// Token: 0x17001F9A RID: 8090
		// (get) Token: 0x06006FF6 RID: 28662 RVA: 0x0012BEE0 File Offset: 0x0012A0E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<JoinLineupScRsp> Parser
		{
			get
			{
				return JoinLineupScRsp._parser;
			}
		}

		// Token: 0x17001F9B RID: 8091
		// (get) Token: 0x06006FF7 RID: 28663 RVA: 0x0012BEE7 File Offset: 0x0012A0E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return JoinLineupScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001F9C RID: 8092
		// (get) Token: 0x06006FF8 RID: 28664 RVA: 0x0012BEF9 File Offset: 0x0012A0F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return JoinLineupScRsp.Descriptor;
			}
		}

		// Token: 0x06006FF9 RID: 28665 RVA: 0x0012BF00 File Offset: 0x0012A100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JoinLineupScRsp()
		{
		}

		// Token: 0x06006FFA RID: 28666 RVA: 0x0012BF08 File Offset: 0x0012A108
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JoinLineupScRsp(JoinLineupScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006FFB RID: 28667 RVA: 0x0012BF2D File Offset: 0x0012A12D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public JoinLineupScRsp Clone()
		{
			return new JoinLineupScRsp(this);
		}

		// Token: 0x17001F9D RID: 8093
		// (get) Token: 0x06006FFC RID: 28668 RVA: 0x0012BF35 File Offset: 0x0012A135
		// (set) Token: 0x06006FFD RID: 28669 RVA: 0x0012BF3D File Offset: 0x0012A13D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06006FFE RID: 28670 RVA: 0x0012BF46 File Offset: 0x0012A146
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as JoinLineupScRsp);
		}

		// Token: 0x06006FFF RID: 28671 RVA: 0x0012BF54 File Offset: 0x0012A154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(JoinLineupScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007000 RID: 28672 RVA: 0x0012BF84 File Offset: 0x0012A184
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007001 RID: 28673 RVA: 0x0012BFC3 File Offset: 0x0012A1C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007002 RID: 28674 RVA: 0x0012BFCB File Offset: 0x0012A1CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007003 RID: 28675 RVA: 0x0012BFD4 File Offset: 0x0012A1D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007004 RID: 28676 RVA: 0x0012C008 File Offset: 0x0012A208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007005 RID: 28677 RVA: 0x0012C046 File Offset: 0x0012A246
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(JoinLineupScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007006 RID: 28678 RVA: 0x0012C077 File Offset: 0x0012A277
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007007 RID: 28679 RVA: 0x0012C080 File Offset: 0x0012A280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002AB8 RID: 10936
		private static readonly MessageParser<JoinLineupScRsp> _parser = new MessageParser<JoinLineupScRsp>(() => new JoinLineupScRsp());

		// Token: 0x04002AB9 RID: 10937
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002ABA RID: 10938
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04002ABB RID: 10939
		private uint retcode_;
	}
}
